* frame.c (tty_frame_count): Now printmax_t, not int.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 29 Aug 2011 18:52:26 +0000 (11:52 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 29 Aug 2011 18:52:26 +0000 (11:52 -0700)
commit5e83c9f4315e8c0e986c0a9688347c3ca9509013
tree4aba000e10b86f1ae782b13a01dcd3469d92b6ca
parent8bedc2bcaffb0fc178f945c222c38978604f2863
* frame.c (tty_frame_count): Now printmax_t, not int.

(make_terminal_frame, set_term_frame_name): Print it.
(x_report_frame_params): In X, window IDs are unsigned long,
not signed long, so print them as unsigned.
(validate_x_resource_name): Check for implausibly long names,
and don't assume name length fits in 'int'.
(x_get_resource_string): Don't blindly alloca invocation name;
use SAFE_ALLOCA.  Use esprintf, not sprintf, in case result does
not fit in int.
src/ChangeLog
src/frame.c